<%-- 
    Document   : udu_search
    Created on : Sep 23, 2013, 12:20:12 AM
    Author     : yoko
--%>

<%@page import="org.apt.matrimony.beans.ProfessionalBeans"%>
<%@page import="org.apt.matrimony.beans.MotherTongueBeans"%>
<%@page import="org.apt.matrimony.beans.ReligionBeans"%>
<%@page import="java.util.List"%>
<%@page import="org.apt.matrimony.beans.CountryBeans"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">


<!-- Mirrored from www.maxwebdesign.asia/demo/numinousmatch/edu_search.php by HTTrack Website Copier/3.x [XR&CO'2010], Fri, 20 Sep 2013 17:08:51 GMT -->
<head>

<link href="css/template.css" rel="stylesheet" type="text/css" media="all" />
<!-- JS FOR SuperFish DropDown Menu ############################# -->
<link href="css/dropDownMenu/superfish.css" rel="stylesheet" type="text/css" media="all" />
<script type="text/javascript" src="scripts/jquery1.6.2_production.js"></script>

<link href="css/regis_mem_home.css" rel="stylesheet" type="text/css" />

<!-- START CHAT FILES -->
<link type="text/css" rel="stylesheet" media="all" href="chat/css/chat.css" />

							<link type="text/css" rel="stylesheet" media="all" href="chat/css/screen.css" />

							<script type="text/javascript" src="chat/js/jquery.js"></script>

							<script type="text/javascript" src="chat/js/chat.js"></script>
<!-- END CHAT FILES -->
<script type="text/javascript" src="scripts/superfish.js"></script>

<script type="text/javascript" src="js/fancyzoom.min.js"></script>
<script language="javascript">
/*SCRIPT INITIALIZATION FOR DROPDOWN MENU###################### */
    $(document).ready(function(){
        $("ul.sf-menu").superfish();
		$('div.photo a').fancyZoom({scaleImg: true, closeOnClick: true});

		$('#medium_box_link').fancyZoom({width:400, height:300});

		$('#large_box_link').fancyZoom();

		$('#flash_box_link').fancyZoom();
    });

</script>
   <script language="javascript" src="js/hide.js"></script>
   <link href="css/contact.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
function initShowHideDivs()
{     // Hidden value
	var divs = document.getElementsByTagName('DIV');
	var divCounter = 1;
	for(var no=0;no<divs.length;no++){
		if(divs[no].className=='dhtmlgoodies_question'){
			divs[no].onclick = showHideContent;
			divs[no].id = 'dhtmlgoodies_q'+divCounter;
			var answer = divs[no].nextSibling;
			while(answer && answer.tagName!='DIV'){
				answer = answer.nextSibling;
			}
			answer.id = 'dhtmlgoodies_a'+divCounter;
			contentDiv = answer.getElementsByTagName('DIV')[0];
			contentDiv.style.top = 0 - contentDiv.offsetHeight + 'px';
			contentDiv.className='dhtmlgoodies_answer_content';
			contentDiv.id = 'dhtmlgoodies_ac' + divCounter;
			answer.style.display='none';
			answer.style.height='1px';
			divCounter++;
		}
	}
}
</script>

<script language="javascript" src="js/educationsearch.js"></script>

<script language="javascript" src="js/edu_search_location.js" type="text/javascript"> </script>

<script language="javascript" type="text/javascript">



			 function loadvalues()

			 {

				enb('country');

				select_field('country','');

				select_field('state','');

				enb('state');

				select_field('city','');

			 }

				 function Validate()

				{

				/* -------- city part ends here ------- */

				}

//checks the fields that are compulsory namely state, city, terms of use

function CheckFields()

{

    var i = Validate();

    if(i==0)

        return false;

    return true;

}

    </script>

</head>



<body>

<div id="wrapper">



  <!-- HEADER STARTS HERE ###################################################  -->
  <jsp:include page="header.jsp"></jsp:include>
  <!-- HEADER ENDS HERE ###################################################  -->



  <!-- CONTENT AREA STARTS HERE ###################################################  -->



  <!-- BREADCRUMBS STARTS HERE #####################################  -->
<jsp:useBean id="list" scope="session" class="org.apt.matrimony.methods.selects"></jsp:useBean>
  <div id="breadcrumb">

    <ul class="breadcrumbs">

      <li class="left"></li>

      <li class="center">

        <div id="breadcrumb_text">You are Here: <span class="pathway"> <a href="index.jsp">Home</a><img alt="" src="images/icons/arrow_breadcrumbs.png"><a href="search_page.html">Search</a> <img alt="" src="images/icons/arrow_breadcrumbs.png"/>Education Search</span> </div>

		<div id="breadcrumb_modifysearch"><a href="search_page.jsp" title="Modify Search" class="link" style="background-image:none">Modify Search >></a>				        </div>

      </li>

      <li class="right"></li>

    </ul>

  </div>

  <!-- BREADCRUMBS ENDS HERE ########################################  -->



  <div id="content_area">

    <div id="inner_left">
  <div id="inner_left_header"></div>
  <div id="inner_left_content">
                    <a href="registration1.jsp" class="btn_registerfree"><img src="images/btn_registerfree.gif" width="136" height="46" alt="register free" /></a>
    <script language="javascript">
function validateloginform()
{
	if(document.form1.txtusername.value== "Username")
	{
		alert("Kindly enter username.");
		document.form1.txtusername.focus();
		return false;
	}
	if(document.form1.txtpassword.value== "Password")
	{
		alert("Kindly enter password.");
		document.form1.txtpassword.focus();
		return false;
	}
	return true;
}
function checkusername()
{
	if(document.form1.txtusername.value== "")
	{
		document.form1.txtusername.value = "Username";
		return false;
	}
	return true;
}
function checkpassword()
{
	if(document.form1.txtpassword.value== "")
	{
		document.form1.txtpassword.value = "Password";
		return false;
	}
	return true;
}
function rusername()
{
	if(document.form1.txtusername.value== "Username")
	{
		document.form1.txtusername.value = "";
		return false;
	}
	return true;
}
function rpassword()
{
	if(document.form1.txtpassword.value== "Password")
	{
		document.form1.txtpassword.value = "";
		return false;
	}
	return true;
}
</script>
<table cellspacing="0" cellpadding="0" border="0" style="width:234px;" class="wrapper2">
          <tbody><tr>
            <td class="td11"></td>
            <td class="td12"></td>
            <td class="td13"></td>
          </tr>
          <tr>
            <td class="td21"></td>
            <td style="height:146px; padding:6px; vertical-align:top; overflow:hidden;" class="td22"><h2>Login </h2>
            <FORM action="http://www.maxwebdesign.asia/demo/numinousmatch/memlogin_submit.php" method="post" name="form1" id="form1">
              <table cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="margin-top:5px;" class="padding_5p">
                <tbody><tr>
                  <td colspan="2"><label style="width:200px" class="rounded-textbox1">
                    <input type="text" style="width:194px" value="Username" class="rounded-textbox1" name="txtusername" id="txtusername" onblur="checkusername();" onfocus="rusername();" />
                  </label></td>
                </tr>
                <tr>
                  <td colspan="2"><label style="width:200px" class="rounded-textbox1">
                    <input type="password" style="width:194px" value="Password" class="rounded-textbox1" name="txtpassword" id="txtpassword" onblur="checkpassword();" onfocus="rpassword();"/>
                  </label></td>
                </tr>
                <tr>
                  <td width="80%" style="padding:0px; padding-top:5px; "><a class="link" href="forgotpassword.html">Forgot Password?</a></td>
                  <td align="right" style="padding:0px; padding-top:5px;"><!--<a class="button-small square-orange uppercase" href="#"><span></span> Login</a>-->

			<!--	  <input type="submit" name="Login" id="Login" value="Login" onclick="return validateloginform();" />-->

				  <input type="image" value="Login" name="Login" style="clear:both; border:0px; text-align:center; width:65px;" class="button-small square-orange uppercase" onclick="return validateloginform();"/>
				  </td>
                </tr>
              </tbody></table>
              </FORM></td>
            <td class="td23"></td>
          </tr>
          <tr>
            <td class="td31"></td>
            <td class="td32"></td>
            <td class="td33"></td>
          </tr>
        </tbody></table>
    <!-- Refine Search Start Here -->
    <hr />
        <strong style="margin-top:44px;" class="size12">Refine Search</strong> <a href="#" class="clearall">[Clear all]</a>
        <hr />
        <strong style="font-size:11px;" class="size12">Active</strong>
        <ul class="ddlist list-arrow2">
                  <li><a href="refinesearchc385.html?online=yes">Online now()</a></li>
                  <li><a href="refinesearch1eeb.html?week=yes">One week()</a></li>
                  <li><a href="refinesearch463c.html?month=yes">One month()</a></li>
                  <li><a href="refinesearch0660.html?morethanmonth=yes">One month and above()</a></li>
        </ul>
        <a href="search_page.jsp" class="link more" style="background-image:none">More >></a>
        <hr />
        <strong style="font-size:11px;" class="size12">Profile Type</strong>
        <ul class="ddlist list-arrow2">
                  <li><a href="refinesearchf20b.html?photo=yes">With Photo()</a></li>
        </ul>
        <a href="search_page.jsp" class="link more" style="background-image:none">More >></a>
        <hr />
        <strong style="font-size:11px;" class="size12">Religion</strong>
        <ul class="ddlist list-arrow2">
                  <li><a href="refinesearchd660.html?religion=Hindu">Hindu()</a></li>
                  <li><a href="refinesearchfca2.html?religion=Christian">Christian()</a></li>
                  <li><a href="refinesearchffd1.html?religion=Muslim">Muslim()</a></li>
        </ul>
        <a href="search_page.jsp" class="link more" style="background-image:none">More >></a>
        <hr />
        <strong style="font-size:11px;" class="size12">Education</strong>
        <ul class="ddlist list-arrow2">
                  <li><a href="refinesearch14e8.html?education=Doctorate">Medicine()</a></li>
                  <li><a href="refinesearch5982.html?education=Masters">Masters()</a></li>
                  <li><a href="refinesearch9955.html?education=Bachelors">Bachelors()</a></li>
        </ul>
        <a href="search_page.jsp" class="link more" style="background-image:none">More >></a>
        <hr />    <!-- Refine Search End Here -->

    <!--Left Banner Area1 starts here-->
         <div class="innerleft_banner"><a href="#"><img src="images/innerleft_banner.jpg" width="228" height="399" alt="advertisement" /></a></div>
    <!--Left Banner Area1 ends here-->


  <!--  <iframe id="f7574d6d8" name="f340dbef4c" scrolling="No" style="border:none 1px #f9d6a5; overflow-x: hidden; overflow-y: hidden; height: 290px; width: 228px; " class="margin10" src="http://www.facebook.com/plugins/likebox.php?api_key=113869198637480&amp;channel=http%3A%2F%2Fstatic.ak.fbcdn.net%2Fconnect%2Fxd_proxy.php%3Fversion%3D3%23cb%3Df33e1e3be%26origin%3Dhttp%253A%252F%252Fdevelopers.facebook.com%252Ff81541c14%26relation%3Dparent.parent%26transport%3Dpostmessage&amp;colorscheme=light&amp;header=true&amp;height=290&amp;href=https%3A%2F%2Fwww.facebook.com%2Fpages%2FLekhwiya-Football-Club%2F187694124628360&amp;locale=en_US&amp;sdk=joey&amp;show_faces=true&amp;stream=false&amp;width=228"></iframe>-->


  <jsp:include page="storytemplate.jsp"></jsp:include>
  </div>
  <div id="inner_left_footer"></div>
</div>

    <div id="inner_right">

      <!-- BUSINESS PAGE CONTENT STARTS HERE ############################################ -->

      <a name="top" id="top"></a>

      <div class="profile_block">

        <div class="header">

        <h2 class="float_left title">

          <span style="color:#333;" class="black">Matrimony Match - </span>Educational Search

        </h2>

        </div>

        <div class="body">

          <table cellspacing="5" cellpadding="5" border="0" width="100%">

	        <tbody><tr>

    	        <td width="80" height="80"><img align="left" width="64" vspace="10" hspace="10" height="64" src="images/icons/search/education_srch.png"/></td>

                <td>Search based on a Educationa criteria one would look for in a   partner. Results can be viewed as Thumbnail View, Full View. If you like a profile you can Express Interest or Send Mail.</td>

            </tr></tbody>

          </table>

          <form action="http://www.maxwebdesign.asia/demo/numinousmatch/edusearch_results.php" method="get" name="MatriForm" id="MatriForm" onSubmit="return validate()" >

            <table width="100%" border="0" cellpadding="3" cellspacing="2" class="tbl_profiledetails">

				<tr>

                  <td height="20" colspan="2"><div align="right" class="hline3">Note: All fields marked <span class="Alert">*</span> are Optional</div></td>
                </tr>

              <tr class="hline2">

                <td><div align="left">Looking for </div></td>

                <td><div align="left">

                    <input name="txtGender" type="radio" value="Male"/>
                    Male
                    &nbsp;
                    <input name="txtGender" type="radio" value="Female"/>
                    Female </div></td>
              </tr>

              <tr class="hline2">

                <td><div align="left">Age</div></td>

                <td><div align="left">From

                    <INPUT name="txtSAge" class="textbox1" id="txtSAge" value="18" size="2" maxLength="2" onKeyUp="check_Age('txtSAge')">

                    &nbsp; to &nbsp;

                    <INPUT name="txtEAge" class="textbox1" id="txtEAge" value="60" size="2" maxLength="2" onKeyUp="check_Age('txtEAge')" >

                    years </div></td>
              </tr>

              <tr class="hline2">
                <td><div align="left">Religion</div></td>
                <td><div align="left">
                    <select onchange="caste_resetRF(this.value)" class="selectfield" style="width:215px;" size="1" id="religion" name="religion">
                        <option selected="" value="0">-Select-</option>
						<%
                                                                List<ReligionBeans> religionList=list.selectAllReligions();
                                                                    for(int i=0; i<religionList.size();i++){
                                                                    %>
                                                                    <option value="<%= religionList.get(i).getReligion_Id() %>"><%= religionList.get(i).getReligion_Name() %></option>
                                                                <%}%>
                    </select>
                </div></td>
              </tr>
              <tr class="hline2">
                <td>Mother Tongue</td>
                <td><select onchange="do_request(this.value);" class="selectfield" style="width:215px;" size="1" id="Language" name="Language">
                    <option selected="selected" value="0">-Select-</option>
                     <%
                                                                List<MotherTongueBeans> mothertongueList=list.selectAllMotherTongues();
                                                                    for(int i=0; i<mothertongueList.size();i++){
                                                                    %>
                                                                    <option value="<%= mothertongueList.get(i).getMother_Tongue_Id() %>"><%= mothertongueList.get(i).getMother_Tongue_Name() %></option>
                                                                <%}%>
                  </select>
                </td>
              </tr>
              <tr class="hline2">
                <td><div align="left" id="caste">Caste/Division </div></td>
                <td><div align="left" id="caste_rel">
                    <select name="caste" class="forminput" id="caste" style="width:215px;" disabled="disabled" >
                      <option>Others</option>
                    </select>
                </div></td>
              </tr>


              <tr class="hline2">

                <td><div align="left">Country</div></td>

                <td><div align="left">

                    <select name="country" class="forminput" id="select_country" style="width:215px;" onChange="javascript:enb('country');">

                        <option value=" " selected>-- Select --</option>
                                    <%
                                                                List<CountryBeans> countryList=list.selectAllCountries();
                                                                    for(int i=0; i<countryList.size();i++){
                                                                    %>
                                                                    <option value="<%= countryList.get(i).getCountry_Id() %>"><%= countryList.get(i).getCountry_Name() %></option>
                                                                <%}%>
                                             </select>
                    </div></td>
              </tr>
              <tr class="hline2">

                <td><div align="left">Education</div></td>

                <td><div align="left">

                    <select name="txtEdu" class="forminput" id="txtEdu" style="width:215px;">

						<option value="" selected>Any</option>

						<option value="Not Important">Not Important</option>

						<option value="No education">No education</option>
 <%
                                                                List<ProfessionalBeans> professionalList=list.selectAllProfessionals();
                                                                    for(int i=0; i<professionalList.size();i++){
                                                                    %>
                                                                    <option value="<%= professionalList.get(i).getProfessional_Id()%>"> <%= professionalList.get(i).getProfessional_Name() %></option>
                                                                <%}%>
						
                   </select>

                  </div></td>
              </tr>

              <tr class="hline2">

                <td><div align="left">Show *</div></td>

                <td><div align="left">

                    <input name="txtphoto" type="checkbox" id="txtphoto" value="Show profiles with Photo"/>

                    Profiles with Photo<br /><input name="txthoros" type="checkbox" id="txthoros" value="Show profiles with Horoscope"/>

                    Profiles with Horoscope </div></td>
              </tr>

              <tr class="hline2">

                <td><div align="left"></div></td>

                <td><div align="left">

                    <!--<input name="Submit" type="image" value="Submit" src="pics/search-button.gif">-->
					<input class="button-small square-orange uppercase" style="clear:both; border:0px; text-align:center; width:75px;" name="Submit" type="image" value="Search"/> >

                  </div></td>
              </tr>
            </table>

          </form>

        </div>
	<!--end left and right div here-->
		<table width="90%" border="0" cellpadding="0" cellspacing="0" class="table_srch" style=" border:none;" >

          <tr >

            <td width="33%"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="table_srch">

              <tr>

                <td align="center"><h3><strong><a href="simplesearch.html">Simple Search</a></strong></h3></td>

              </tr>

              <tr>

                <td align="center"><a href="simplesearch.html"><img src="images/icons/search/search.png" width="64" height="64" /></a></td>

              </tr>

              <tr>

                <td align="center">Search based on the Minimal important criteria that you   would look for in a partner fastest way</td>

              </tr>

            </table></td>

            <td width="33%"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="table_srch">
 <%
                    String user="";
                    user=(String)session.getAttribute("ActiveUser");
                    if(user!=null){
                %>
              <tr>

                <td align="center"><h3><strong><a href="adv_search.jsp">Advanced Search</a></strong></h3></td>

              </tr>

              <tr>

                <td align="center"><a href="adv_search.jsp"><img src="images/icons/search/search_male_user.png" width="64" height="64" /></a></td>

              </tr>
              <%}else{%>
              <tr>

                <td align="center"><h3><strong><a href="login.jsp">Advanced Search</a></strong></h3></td>

              </tr>

              <tr>

                <td align="center"><a href="login.jsp"><img src="images/icons/search/search_male_user.png" width="64" height="64" /></a></td>

              </tr>
              <%}%>
              <tr>
                <td align="center">The most comprehensive search that searches across all   criteria.</td>
              </tr>

            </table></td>

            <td><table width="100%" border="0" cellpadding="0" cellspacing="0" class="table_srch">

              <tr>

                <td align="center"><h3><strong><a href="keyword_search.html">Keyword Search</a></strong></h3></td>

              </tr>

              <tr>

                <td align="center"><a href="keyword_search.html"><img src="images/icons/search/search_page.png" width="64" height="64" /></a></td>

              </tr>

              <tr>

                <td align="center">Enter a word related to your search. For e.g. enter<strong> Software Professional </strong>.</td>

              </tr>

            </table></td>

          </tr>

          <tr>

            <td><table width="100%" border="0" cellpadding="0" cellspacing="0" class="table_srch">

              <tr>

                <td align="center"><h3><strong><a href="occu_search.jsp" class="bodylink style1">Occupational Search</a></strong></h3></td>

              </tr>

              <tr>

                <td align="center"><a href="occu_search.jsp"><img src="images/icons/search/prof_srch.png" width="64" height="64" /></a></td>

              </tr>

              <tr>

                <td align="center">Search based on the Occupation criteria that you   would look for in a partner.</td>

              </tr>

            </table></td>

            <td><table width="100%" border="0" cellpadding="0" cellspacing="0" class="table_srch">

              <tr>

                <td align="center"><h3><strong><a href="id_search.html" class="bodylink style1">Matrimony ID Search</a></strong></h3></td>

              </tr>

              <tr>

                <td align="center"><a href="id_search.html"><img src="images/icons/search/id_srch.png" width="64" height="64" /></a></td>

              </tr>

              <tr>

                <td align="center">Enter Matrimony ID directly helps you to view the profile of a particular ID.</td>

              </tr>

            </table></td>

			<td><table width="100%" border="0" cellpadding="0" cellspacing="0" class="table_srch">

                <tr>

                  <td align="center"><h3><strong><a href="location_search.html" class="bodylink style1">Location Search </a></strong></h3></td>

                </tr>

                <tr>

                  <td align="center"><a href="location_search.html"><img src="images/icons/search/search_globe.png" width="64" height="64" /></a></td>

                </tr>

                <tr>

                  <td align="center">Search based on the Location criteria that you   would look for in a partner.</td>
                </tr>
              </table></td>
          </tr>
          <tr>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
          </tr>
        </table>
  <!--end small menu links-->
        <div class="footer"> <a href="#top" class="btn_goTop" style="margin-left:10px;">Go Top</a> </div>

      </div>

      <br />

      <!-- BUSINESS PAGE CONTENT ends HERE ############################################ -->

    </div>

  </div>

  <!-- CONTENT AREA ENDS HERE ###################################################  -->
</div>
<script>
function do_request(val) {

document.getElementById('caste_rel').innerHTML = "<img src='loading.gif'>";
 $.post('generateCaste415a.html?lang='+val+'&rel='+document.getElementById('religion').selectedIndex,'', function(data) {
	document.getElementById('caste_rel').innerHTML = "<img src='loading.gif'>";
	if(data!=''){

	document.getElementById('caste_rel').innerHTML = data;
	}});
	//return true;



}
</script>

<script>
function caste_resetRF(val){
alertdo(val);
document.getElementById('Language').selectedIndex = 0;
}

function alertdo(flag)  {
if(flag == 1) {
document.getElementById("caste").innerHTML = 'Caste/Division ';
} else if(flag == 2  || flag == 10 || flag == 11) {
document.getElementById("caste").innerHTML = 'Sect/Division';
} else if(flag == 12 || flag == 13  || flag == 14 || flag == 3) {
document.getElementById("caste").innerHTML = 'Denomination/Division';
} else {
document.getElementById("caste").innerHTML = 'Caste/Division ';
}


}

</script>
</body>


<!-- Mirrored from www.maxwebdesign.asia/demo/numinousmatch/edu_search.php by HTTrack Website Copier/3.x [XR&CO'2010], Fri, 20 Sep 2013 17:08:52 GMT -->
</html>